﻿<%@ Control Language="C#" AutoEventWireup="true" Inherits="Controls_UserLoginStatus" Codebehind="UserLoginStatus.ascx.cs" %>

<% if (Page.User.Identity.IsAuthenticated)
   {%>
	  <% =((Directory.Web.CustomIdentity)Page.User.Identity).NickName  %>：
	   <a href='/user/userinfo.aspx'>编辑个人信息</a> - 
	   <a href='/user/changepassword.aspx'>更改密码</a> -  
  <% }
   else
   {
	   %>
	   <a href="/register.aspx">注册新会员</a> - 
	   <%
   }
	 %>
<asp:LoginStatus ID="LoginStatus1" runat="server" />